main controller template content